/*
 * @Author: qiulin 1746365080@qq.com
 * @Date: 2024-11-03 22:33:50
 * @LastEditors: qiulin 1746365080@qq.com
 * @LastEditTime: 2024-11-06 13:49:42
 * @FilePath: /SGSim/DataStructure/Input/Node/SPOINTData.h
 */
#pragma once
#include <math.h>

#include <set>

#include "DataStructure/Common/Constant.h"
#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Common/SGObject.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN
///< @brief 标量点
struct DECLSPEC PointData : public SGObject
{
    SG::DataStructure::Common::I64  m_CP       = 0;        ///<
    SG::DataStructure::Common::Real m_X[3]     = { 0.0 };  ///<
    SG::DataStructure::Common::Id   m_domainId = 0;        ///<
};

///< @brief 判断节点数据是否相等
DECLSPEC bool operator== (const PointData& val1, const PointData& val2);

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE